package com.code.wanmi.entity.wm_rpm;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 红包点赞表
 * </p>
 *
 * @author 二组
 * @since 2019-12-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class WmGreat implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 关联红包ID
     */
    private Long barbieId;

    /**
     * 关联用户ID
     */
    private Long userId;

    /**
     * 点赞状态，0表示点赞，1表示取消赞
     */
    private Integer status;

    /**
     * 红包点赞时间
     */
    private LocalDateTime createTime;


}
